package de.mnit.basis.swt.element.menue;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Widget;



public class SWT_Menue_PopUp extends A_SWT_Menue<SWT_Menue_PopUp, Menu> {

	// ERZEUGEN

	protected Menu roh(Widget basis,int style) {
		return new Menu(((Control)basis).getShell(), style);
	}

	protected int style3() {
		return SWT.POP_UP;
	}

	protected void init3() {
		swt().getParent().setMenu(swt());
	}
}
